<?php
namespace app\controllers;

use app\libs\LibUser;

class ForceLogin extends \fate\web\Controller {
    public function __construct() {
        $uid = LibUser::getLoginUid();

        if('' === $uid) {
            header('Location: /login');
            exit;
        }
    }
}
